/*
               File: IniUsu
        Description: Stub for IniUsu
             Author: GeneXus Java Generator version 8_0_9-040
       Generated on: 28 de Setiembre de 2010 17:21:41.57
       Program type: Callable routine
          Main DBMS: sqlserver
*/
import java.sql.*;
import com.genexus.db.*;
import com.genexus.*;
import com.genexus.distributed.*;

public final class winiusu extends GXApplet
{
   public static void main( String args[] )
   {
      Application.init(GXcfg.class);
      winiusu pgm = new winiusu (-1);
      Application.realMainProgram = pgm;
      pgm.executeCmdLine(args);
   }

   public void init( )
   {
      Application.setApplet(this);
      ApplicationContext.getInstance().setCurrentLocation( "" );
      ClientPreferences.resetPreferences();
      Application.init(GXcfg.class);
      ModelContext context = new ModelContext( winiusu.class );
      remoteHandle = Application.getNewRemoteHandle(context);
      execute();
   }

   public  winiusu( )
   {
   }

   public void executeCmdLine( String args[] )
   {

      execute();
   }

   public winiusu( int remoteHandle )
   {
      super( remoteHandle , new ModelContext( winiusu.class ), "" );
   }

   public winiusu( int remoteHandle ,
                   ModelContext context )
   {
      super( remoteHandle , context, "" );
   }

   public void execute( )
   {
      execute_int();
   }

   private void execute_int( )
   {
      initialize();
      /* GeneXus formulas */
      /* Output device settings */
      new uiniusu(remoteHandle, context).execute(  );
      cleanup();
   }

   protected void cleanup( )
   {
      Application.cleanup(context, this, remoteHandle);
   }

   /* Aggregate/select formulas */
   public void initialize( )
   {
      /* GeneXus formulas. */
      Gx_err = 0 ;
   }

   private short Gx_err ;
}

